package com.team5101.model;

import lombok.Data;

/**
 * rpc响应数据
 */
@Data
public class RpcResponse {

	/**
	 * 请求对象的ID
	 */

	private String requestId;

	/**
	 * 响应数据
	 */
	private Object result;

	/**
	 * 是否成功
	 */
	private Boolean isSuccess;

	/**
	 * 错误信息
	 */
	private Object errorMsg;

	@Override
	public String toString() {
		return "com.lagou.cl.model.RpcResponse{" +
				"requestId='" + requestId + '\'' +
				", result=" + result +
				", isSuccess=" + isSuccess +
				", errorMsg=" + errorMsg +
				'}';
	}
}
